package com.xhd.db;

import java.util.List;
import java.util.Map;
import java.util.Vector;

import com.xhd.base.util.xBaseObj;
import com.xhd.exception.DatabaseException;
import com.xhd.exception.XException;

public abstract interface BizObjDao
{
  public abstract int insert(xBaseObj paramxBaseObj)
    throws DatabaseException;

  public abstract int insert(List paramList)
    throws DatabaseException;

  public abstract int insert(xBaseObj paramxBaseObj, List paramList)
    throws DatabaseException;

  public abstract int insert(xBaseObj paramxBaseObj, List paramList, String paramString)
    throws XException;

  public abstract int update(xBaseObj paramxBaseObj)
    throws DatabaseException;

  public abstract int update(xBaseObj paramxBaseObj, Object paramObject)
    throws DatabaseException;

  public abstract int updatePart(xBaseObj paramxBaseObj, List paramList)
    throws DatabaseException;

  public abstract int updatePart(xBaseObj paramxBaseObj, List paramList, Object paramObject)
    throws DatabaseException;

  public abstract int updatePart(xBaseObj paramxBaseObj, String paramString)
    throws DatabaseException;

  public abstract int updatePart(xBaseObj paramxBaseObj, String paramString, Object paramObject)
    throws DatabaseException;

  public abstract int updateFields(xBaseObj paramxBaseObj, List paramList)
    throws DatabaseException;

  public abstract int updateFields(xBaseObj paramxBaseObj, String paramString)
    throws DatabaseException;

  public abstract int updateFields(xBaseObj paramxBaseObj, List paramList, Object paramObject)
    throws DatabaseException;

  public abstract int updateFields(xBaseObj paramxBaseObj, String paramString, Object paramObject)
    throws DatabaseException;

  public abstract int updateFields(xBaseObj paramxBaseObj, String paramString1, String paramString2, Object paramObject)
    throws DatabaseException;

  public abstract int delete(xBaseObj paramxBaseObj)
    throws DatabaseException;

  public abstract int delete(xBaseObj paramxBaseObj, Object paramObject)
    throws DatabaseException;

  public abstract int delete(String paramString, Object paramObject)
    throws DatabaseException;

  public abstract void select(xBaseObj paramxBaseObj)
    throws DatabaseException;

  public abstract void select(xBaseObj paramxBaseObj, Object paramObject)
    throws DatabaseException;

  public abstract Object getById(Class paramClass, int paramInt)
    throws DatabaseException;

  public abstract Vector search(xBaseObj paramxBaseObj, Object paramObject, int paramInt)
    throws DatabaseException;

  public abstract Vector search(xBaseObj paramxBaseObj, String paramString, Object paramObject, int paramInt)
    throws DatabaseException;

  public abstract int getObjId(xBaseObj paramxBaseObj, Object paramObject)
    throws DatabaseException;

  public abstract int getCount(xBaseObj paramxBaseObj, Object paramObject)
    throws DatabaseException;

  public abstract boolean exists(xBaseObj paramxBaseObj)
    throws DatabaseException;

  public abstract boolean exists(xBaseObj paramxBaseObj, Object paramObject)
    throws DatabaseException;

  public abstract int IDGenerator(xBaseObj paramxBaseObj)
    throws DatabaseException;

  public abstract int IDGenerator(xBaseObj paramxBaseObj, String paramString)
    throws DatabaseException;

  public abstract int IDGenerator(xBaseObj paramxBaseObj, String paramString, Object paramObject)
    throws DatabaseException;

  public abstract int genBuiltInId(xBaseObj paramxBaseObj)
    throws DatabaseException;

  public abstract int getSequence(String paramString)
    throws DatabaseException;

  public abstract void instanceObject(xBaseObj paramxBaseObj)
    throws DatabaseException;

  public abstract void instanceObject(xBaseObj paramxBaseObj, Object paramObject)
    throws DatabaseException;

  public abstract int insert(String paramString, Map paramMap)
    throws DatabaseException;

  public abstract int update(String paramString, Map paramMap, DBWhereExp paramDBWhereExp)
    throws DatabaseException;

  public abstract int existsObj(xBaseObj paramxBaseObj)
    throws DatabaseException;

  public abstract int existsObj(xBaseObj paramxBaseObj, String paramString)
    throws DatabaseException;
}